using System;
using System.Collections.Generic;
using System.Text;

namespace Dll.Essences
{
    public class Bind
    {
        int id;
        string title;
        string producer;
        int goodsID;
        string goodsName;
        int providerID;
        double koeff;
        string providersName;
        DateTime date;
        int userID;
        string producerName;
        string code;
        public Bind()
        {

        }

        public Bind(int Id, string Title, string Producer, int GoodsID, int ProviderID, double Koeff, DateTime Date, int UserID, string ProviderName, string GoodsName,string Code)
        {
            id = Id;
            title = Title;
            producer = Producer;
            goodsID = GoodsID;
            providerID = ProviderID;
            date = Date;
            userID = UserID;
            goodsName = GoodsName;
            providersName = ProviderName;
            koeff = Koeff;
            code = Code;
        }

        public int Id
        {
            get
            {
                return id;
            }
            set
            {
                id = value;
            }
        }

        public string Title
        {
            get
            {
                return title;
            }
            set
            {
                title = value;
            }
        }

        public string GoodsName
        {
            set
            {
                goodsName = value;
            }
            get
            {
                return goodsName;
            }
        }

        public string ProvidersName
        {
            set
            {
                providersName = value;
            }
            get
            {
                return providersName;
            }
        }

        public string Producer
        {
            get
            {
                return producer;
            }
            set
            {
                producer = value;
            }
        }

        public string ProducerName
        {
            get
            {
                return producerName;
            }
            set
            {
                producerName = value;
            }
        }

        public int GoodsID
        {
            get
            {
                return goodsID;
            }
            set
            {
                goodsID = value;
            }
        }

        public int ProviderID
        {
            get
            {
                return providerID;
            }
            set
            {
                providerID = value;
            }
        }

        public DateTime Date
        {
            get
            {
                return date;
            }
            set
            {
                date = value;
            }
        }

        public int UserId
        {
            get
            {
                return userID;
            }
            set
            {
                userID = value;
            }
        }

        public double Koeff
        {
            get
            {
                return koeff;
            }
            set
            {
                koeff = value;
            }
        }

        public string Code
        {
            get
            {
                return code;
            }
            set
            {
                code = value;
            }
        }
    }
}
